﻿using Lamex.Base.Framework.BaseDal;
using Lamex.SystemManager.Interfaces;
using Lamex.SystemManager.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Lamex.SystemManager.DalServer
{
    public class Sys_Role : BaseDalSQL<RoleInfo>, ISys_Role
    {
        public List<RoleInfo> GetRolesByCompany(string companyId)
        {
            string  strWhere = string.Format("CompanyID='{0}' and Deleted = 0 ", companyId);
            return GetEntriyList(strWhere);
        }

       
    }
}
